using System;
using System.Collections.Generic;
using System.Text;
using DevExpress.Xpo;


namespace TaiLieu
{
    public class LoginDiaryDB : Base
    {
        public static void Save1(string userName, string domain, string work)
        {
            LoginDiary log = new LoginDiary(KetNoiCSDL.session);
            log.date = DateTime.Now.Second + "s-" + DateTime.Now.Minute + "p-" + DateTime.Now.Day + "-" + DateTime.Now.Month + "-" + DateTime.Now.Year;
            log.name = userName;
            log.web = maHoa.GetMD5HashData(domain);
            log.worked= work;
            LoginDiaryDB.Save(log);
        }

    }
}
